package com.usefullc.system.domain;

import com.usefullc.system.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * @author: Sampson
 * @date: 2022-04-16 17:11
 */
@Entity(name="sys_serial_number")
@ApiModel("序号")
@Data
public class SerialNumber extends BaseEntity {


    @ApiModelProperty(notes = "表名")
    @Column(length = 50,nullable = false)
    private String tableName;

    @ApiModelProperty(notes = "类别")
    @Column(length = 100,nullable = false)
    private String type;

    @ApiModelProperty(notes = "序号")
    @Column(length = 4,nullable = false)
    private Integer no;

}
